<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/UI/ui_boot.c 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_c78dc1806c68fd338fba226975244931.html">UI</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ui_boot.c</div></div>
</div><!--header-->
<div class="contents">
<a href="ui__boot_8c.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#include &quot;lvgl.h&quot;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#include &quot;<a class="code" href="ui__boot_8h.html">ui_boot.h</a>&quot;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &quot;<a class="code" href="version_8h.html">version.h</a>&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &quot;<a class="code" href="image__source_8h.html">image_source.h</a>&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &quot;<a class="code" href="load__file_8h.html">load_file.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#include &quot;<a class="code" href="mem__sdram_8h.html">mem_sdram.h</a>&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#include &quot;<a class="code" href="load__mv_8h.html">load_mv.h</a>&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#include &quot;<a class="code" href="bsp__init_8h.html">bsp_init.h</a>&quot;</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#include &quot;<a class="code" href="log_8h.html">log.h</a>&quot;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="comment">/*******************************************************************************************************************************************</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="comment"> * Private Prototype</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="comment"> *******************************************************************************************************************************************/</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="keyword">static</span> uint8_t <a class="code hl_function" href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e">plan_check</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="comment">/*******************************************************************************************************************************************</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="comment"> * Public Function</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="comment"> *******************************************************************************************************************************************/</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a">   49</a></span>uint8_t <a class="code hl_function" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a">ui_boot</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>{</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>    uint16_t i = 0;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    uint32_t res = 0;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>    <span class="comment">/* 验证一下程序文件表的图片文件数量与图片张数是否符合, 并打印目前屏幕显示的色彩深度 </span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="comment">     * File_Table.table_size - FT_FONT_NUM - FT_MUSIC_NUM - FT_VIDEO_NUM == FT_IMG_NUM</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="comment">     */</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>    <a class="code hl_define" href="log_8h.html#a378e28bfcb78d17285210d6bbb70a083">LOG_INFO</a>(<span class="stringliteral">&quot;\r\n &lt;File_Table&gt; All = [%d], IMG = [%d], &lt;Image_Table&gt; PIC = [%d] \r\n&quot;</span>,</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>             <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a50759ab8147814e1075b574b51d12e64">table_size</a>, <a class="code hl_define" href="file__table_8h.html#a9e2b981a0be65b6e5506b5c71aa62753">FT_IMG_NUM</a>, <a class="code hl_define" href="image__source_8h.html#adaf395a1fb2006af232e8538dcd7a854">IMG_MAX_NUM</a>);</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>    <a class="code hl_define" href="log_8h.html#a378e28bfcb78d17285210d6bbb70a083">LOG_INFO</a>(<span class="stringliteral">&quot;\r\n LCD a pixel color depth = [%d] bytes \r\n&quot;</span>, <span class="keyword">sizeof</span>(lv_color_t));</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    <span class="comment">/* 注册表(必须) */</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    <a class="code hl_function" href="image__source_8c.html#a885e4f4c4d55a588752ae7411cf4daa8">img_table_hash_init</a>(<a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>, <span class="keyword">sizeof</span>(<a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>) / <span class="keyword">sizeof</span>(<a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[0]));</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>    <span class="comment">/* 挂载文件系统, 检查本地素材完整性 */</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    res = <a class="code hl_function" href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e">plan_check</a>();</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>    </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span><span class="preprocessor">#if 1 </span><span class="comment">/* 播放开机视频(优先播放 SD 卡内的高清长视频) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    <span class="keywordtype">char</span> video_path[FF_MAX_LFN];</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>    strcpy(video_path, <a class="code hl_variable" href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a>[<a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76">SPI</a>]);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    strcat(video_path, <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a5be3dd4ebfa388f80036fee2ac2768f1">file</a>[<a class="code hl_define" href="file__table_8h.html#a1050bc568c1b6f276b9280fa238912e4">FT_SPI_VIDEO</a>].<a class="code hl_variable" href="structuser__file__t.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>);</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="preprocessor">    #if (SWM34S_LCM_PCBV != SWM34SCE_PIN48_A2)</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    <span class="keywordflow">if</span> (0 == <a class="code hl_function" href="load__file_8c.html#aebe4a0d647831986c734e1788150a064">fs_mount</a>(<a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997a8268cafd51299d814aba050e5f54f1ac">SD</a>)) <span class="comment">/* 除 SD 卡外，U 盘 播放视频速率跟不上 */</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>    {</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>        memset(video_path, 0, <span class="keyword">sizeof</span>(video_path));</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>        strcpy(video_path, <a class="code hl_variable" href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a>[<a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997a8268cafd51299d814aba050e5f54f1ac">SD</a>]);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>        strcat(video_path, <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a5be3dd4ebfa388f80036fee2ac2768f1">file</a>[<a class="code hl_define" href="file__table_8h.html#ac8e6df38331152c1e09f9a43e6ab34a3">FT_MOVE_VIDEO</a>].<a class="code hl_variable" href="structuser__file__t.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>        <span class="keywordflow">if</span> (f_stat(video_path, NULL) != FR_OK) <span class="comment">/* 插了卡, 但卡里面没有预期的视频 */</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        {</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>            memset(video_path, 0, <span class="keyword">sizeof</span>(video_path));</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>            strcpy(video_path, <a class="code hl_variable" href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a>[<a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76">SPI</a>]);</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>            strcat(video_path, <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a5be3dd4ebfa388f80036fee2ac2768f1">file</a>[<a class="code hl_define" href="file__table_8h.html#a1050bc568c1b6f276b9280fa238912e4">FT_SPI_VIDEO</a>].<a class="code hl_variable" href="structuser__file__t.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>        }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    }</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="preprocessor">    #endif</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>    <span class="comment">/* 初始化视频播放 */</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>    <a class="code hl_function" href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5">mv_task_init</a>(video_path);</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>    <span class="comment">/* 仅循环播放 1 次 */</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>    <a class="code hl_function" href="load__mv_8c.html#a3ff08970bdf7f8e28122786eac11d6d3">video_set_loop</a>(0, 1); </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>    <span class="comment">/* 全屏视频播放默认使用图层 1 */</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>    <a class="code hl_function" href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c">video_set_post</a>(<a class="code hl_enumvalue" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93">LAYER_1_GUI</a>, 0, 0); </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>    <span class="keywordflow">while</span> (0 == <a class="code hl_function" href="load__mv_8c.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b">mv_task_handler</a>())</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>    {</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>        <a class="code hl_function" href="dev__touch_8c.html#a4155438389d8b8b802f7f20534056bf0">touch_handler</a>(&amp;<a class="code hl_variable" href="dev__touch_8c.html#a84c114ba14f4f7ca7c2258db06b98d87">Dev_TP</a>);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>        <span class="keywordflow">if</span> (<a class="code hl_enumvalue" href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a> == <a class="code hl_variable" href="dev__touch_8c.html#a84c114ba14f4f7ca7c2258db06b98d87">Dev_TP</a>.<a class="code hl_variable" href="structdev__tp__t.html#ade186a1e352f443f71fa39c14af5b674">point</a>[0].<a class="code hl_variable" href="structtp__data__t.html#a5202f2d226d6bf6ec85c52304098acd2">event</a>) <span class="comment">/* 有触摸操作则视为用户&lt;主动&gt;跳过开机视频, 快速进入下一环节自检 */</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>        {</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>            <a class="code hl_function" href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71">mv_task_over</a>();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>            <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>        }</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    }</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="preprocessor">#if 1 </span><span class="comment">/* 开机动画 GIF 效果 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    <span class="comment">// background_setting</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    lv_obj_t *background = lv_obj_create(lv_scr_act(), NULL);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    lv_obj_set_size(background, LV_HOR_RES_MAX, LV_VER_RES_MAX);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    lv_obj_set_style_local_bg_color(background, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK); <span class="comment">//黑色</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>    lv_obj_set_style_local_border_width(background, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, 0);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    lv_obj_set_style_local_radius(background, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, 0);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>    lv_task_handler();</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>    lv_obj_t *img_obj = lv_img_create(background, NULL);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span><span class="comment">//  lv_img_set_src(img_obj, Image_Table[i].img);</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>    lv_obj_align(img_obj, NULL, LV_ALIGN_CENTER, 0, 0); <span class="comment">/* 相对父级居中对齐 */</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    <span class="keywordflow">for</span> (i = <a class="code hl_define" href="image__source_8h.html#aa819c9bdb403884c37da85f933a67d34">LOADING_GIF_START</a>; i &lt; <a class="code hl_define" href="image__source_8h.html#ad57bb5b6e6270a1bdb9ec544e29951c4">LOADING_GIF_SIZE</a>; )</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>    {</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>        res = <a class="code hl_function" href="load__file_8c.html#a2efc2116dbabe389a95c812f9dc6aa03">load_source_to_sdram</a>(<a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76">SPI</a>, <a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[i].file-&gt;name, <a class="code hl_enumvalue" href="load__file_8h.html#a044f73b36811553cd877767a7df11f83a1e00c983d4be44226a3b1ba10382e3e9">IMG</a>, <a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[i].<a class="code hl_variable" href="structimg__hash__t.html#a15a9da58fa9768c427dbd548764b2009">img</a>, <a class="code hl_function" href="mem__sdram_8c.html#ae1630464a6d7686e9e41daf4b38e74a8">sdram_malloc</a>);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>        <span class="keywordflow">if</span> (0 == res)</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>        {</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>            lv_img_set_src(img_obj, <a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[i].img);</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>            lv_obj_align(img_obj, NULL, LV_ALIGN_CENTER, 0, 0); <span class="comment">/* 相对父级居中对齐 */</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>            <span class="keywordflow">if</span> (0 == <a class="code hl_function" href="load__file_8c.html#a62a6b593e3ff4f0f2c1b13773df449b0">remove_source_to_sdram</a>(<a class="code hl_enumvalue" href="load__file_8h.html#a044f73b36811553cd877767a7df11f83a1e00c983d4be44226a3b1ba10382e3e9">IMG</a>, <a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[i].img, <a class="code hl_function" href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7">sdram_free</a>))</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>                ++i;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>        }</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>        <span class="keywordflow">else</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>        {</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>            <a class="code hl_define" href="log_8h.html#add82efa459e0af380b68522c29b9fd44">LOG_WARN</a>(<span class="stringliteral">&quot;[synwit_logo] img [%d] loading result: [%d]\r\n&quot;</span>, i, res);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>            <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        }</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>        lv_task_handler(); <span class="comment">/* 必须调用 lvgl 处理线程以绘制图片 */</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>    }</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>    <span class="comment">/* 上述环节都结束后, 加载/导入主页所需的素材 */</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>    <span class="keywordflow">for</span> (i = <a class="code hl_define" href="image__source_8h.html#a5766095671f07f4d50bd8a45777ab29a">ICON_IMG_START</a>; i &lt; <a class="code hl_define" href="image__source_8h.html#a5177beb93e8dd02db1b129e066bec1a3">ICON_IMG_END</a>;)</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>    {</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>        res = <a class="code hl_function" href="load__file_8c.html#a2efc2116dbabe389a95c812f9dc6aa03">load_source_to_sdram</a>(<a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76">SPI</a>, <a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[i].file-&gt;name, <a class="code hl_enumvalue" href="load__file_8h.html#a044f73b36811553cd877767a7df11f83a1e00c983d4be44226a3b1ba10382e3e9">IMG</a>, <a class="code hl_variable" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a>[i].<a class="code hl_variable" href="structimg__hash__t.html#a15a9da58fa9768c427dbd548764b2009">img</a>, <a class="code hl_function" href="mem__sdram_8c.html#ae1630464a6d7686e9e41daf4b38e74a8">sdram_malloc</a>);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>        <span class="keywordflow">if</span> (0 == res)</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>        {</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>            ++i;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>        }</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span>        <span class="keywordflow">else</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>        {</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>            <a class="code hl_define" href="log_8h.html#add82efa459e0af380b68522c29b9fd44">LOG_WARN</a>(<span class="stringliteral">&quot;[ui_boot] result: [%d], Image_Table = [%d]\r\n&quot;</span>, res, i);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>            <a class="code hl_function" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9">lvgl_show_error</a>(<span class="stringliteral">&quot;#FF4500 [ui_boot] loading Main Desktop error! #&quot;</span>);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>        }</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>    }</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>    <span class="keywordflow">return</span> res;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>}</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span> </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e">  160</a></span><span class="keyword">static</span> uint8_t <a class="code hl_function" href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e">plan_check</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>{</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>    <span class="comment">/* 磁盘类型</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span><span class="comment">     * 磁盘是否存在</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span><span class="comment">     * 磁盘内 UI 是否完整</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span><span class="comment">     */</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>    <a class="code hl_enumeration" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997">disk_t</a> disk_move = (<a class="code hl_define" href="version_8h.html#a737744852bdd23458f08a934778043a9">SWM34S_LCM_PCBV</a> == <a class="code hl_define" href="version_8h.html#a190e24ed4405f51a3099593ea97afb23">SWM34SCE_PIN48_A2</a>) ? <a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997a65f6b55fdc64778bf10632a795b97761">USB</a> : <a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997a8268cafd51299d814aba050e5f54f1ac">SD</a>; <span class="comment">/* 34SCE_Pin48 没有 SDIO 接口 */</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>    uint8_t status_exist_move = 0;</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>    uint8_t status_ui_move = 0;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span> </div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>    <a class="code hl_enumeration" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997">disk_t</a> disk_flash = <a class="code hl_enumvalue" href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76">SPI</a>;</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>    uint8_t status_exist_flash = 0;</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>    uint8_t status_ui_flash = 0;</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>    <span class="keyword">enum</span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>    {</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span>        Check_Move_Media = 0, <span class="comment">/* 检测移动存储 */</span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>        Check_Flash_Media,    <span class="comment">/* 检测本地存储 */</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>        Update_Media,         <span class="comment">/* 更新存储介质 */</span></div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        _Loading_Over_        <span class="comment">/* 结束 */</span></div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>    } loading_status = Check_Move_Media;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>    uint32_t result = 0;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>    <span class="keywordflow">while</span> (_Loading_Over_ != loading_status)</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>    {</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span>        <span class="keywordflow">switch</span> (loading_status)</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>        {</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>        <span class="keywordflow">case</span> (Check_Move_Media):</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>            result = <a class="code hl_function" href="load__file_8c.html#aebe4a0d647831986c734e1788150a064">fs_mount</a>(disk_move);</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>            status_exist_move = (result == 0) ? 1 : 0;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>            <span class="comment">// result == FR_NOT_READY // 物理设备未插入</span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>            <span class="keywordflow">if</span> (status_exist_move != 0)</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span>            {</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span>                <span class="comment">/* 校验文件列表 */</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span>                result = <a class="code hl_function" href="file__table_8c.html#a3b8264ecd2971c7f1409a78c16a80fff">check_file_table</a>(disk_move, &amp;<a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>, 0, <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a50759ab8147814e1075b574b51d12e64">table_size</a>);</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>                status_ui_move = (result == 0) ? 1 : 0;</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>                <span class="keywordflow">if</span> (result != 0)</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>                    <a class="code hl_define" href="log_8h.html#ad4a9117ce894e3319e903142347a0f63">LOG_ERROR</a>(<span class="stringliteral">&quot;&gt; [%s] UI is missing [%s]\r\n&quot;</span>, <a class="code hl_variable" href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a>[disk_move], <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a5be3dd4ebfa388f80036fee2ac2768f1">file</a>[result - 1].<a class="code hl_variable" href="structuser__file__t.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>);</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>            }</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>            loading_status = Check_Flash_Media;</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>        <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span>        <span class="keywordflow">case</span> (Check_Flash_Media):</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span>            result = <a class="code hl_function" href="load__file_8c.html#aebe4a0d647831986c734e1788150a064">fs_mount</a>(disk_flash);</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span>            status_exist_flash = (result == 0) ? 1 : 0;</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>            <span class="keywordflow">if</span> (0 != result) <span class="comment">/* 介质不存在(对于板载 SPI_Flash 不允许出现挂载失败的情况, 请检查硬件与底层驱动 diskio.c) */</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span>            {</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>                <a class="code hl_define" href="log_8h.html#ad4a9117ce894e3319e903142347a0f63">LOG_ERROR</a>(<span class="stringliteral">&quot;&gt; [%s] FATS mount is [%d]\r\n&quot;</span>, <a class="code hl_variable" href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a>[disk_flash], result);</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>                <a class="code hl_function" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9">lvgl_show_error</a>(<span class="stringliteral">&quot;#FF4500 [Flash_Mem] File_System Mount error! #&quot;</span>);</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>            }</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>            <span class="comment">/* 校验文件列表 */</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span>            result = <a class="code hl_function" href="file__table_8c.html#a3b8264ecd2971c7f1409a78c16a80fff">check_file_table</a>(disk_flash, &amp;<a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>, <a class="code hl_define" href="file__table_8h.html#ac8e6df38331152c1e09f9a43e6ab34a3">FT_MOVE_VIDEO</a> + 1, <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a50759ab8147814e1075b574b51d12e64">table_size</a> - 1);</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span>            status_ui_flash = (result == 0) ? 1 : 0;</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>            <span class="comment">/* UI 素材完整则直接跳过 更新素材 环节, 否则直接进入 更新素材 环节 */</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>            <span class="keywordflow">if</span> (status_ui_flash != 0)</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>            {</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span>                loading_status = _Loading_Over_;</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span>            }</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span>            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (status_exist_move != 0 &amp;&amp; status_ui_move != 0)</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span>            {</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span>                loading_status = Update_Media;</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>            }</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span>            <span class="keywordflow">else</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span>            {</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span>                <a class="code hl_define" href="log_8h.html#ad4a9117ce894e3319e903142347a0f63">LOG_ERROR</a>(<span class="stringliteral">&quot;&gt; [%s] UI is missing [%s]\r\n&quot;</span>, <a class="code hl_variable" href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a>[disk_flash], <a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>.<a class="code hl_variable" href="structtable__class__t.html#a5be3dd4ebfa388f80036fee2ac2768f1">file</a>[result - 1].<a class="code hl_variable" href="structuser__file__t.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>);</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span>                <a class="code hl_function" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9">lvgl_show_error</a>(<span class="stringliteral">&quot;#FF4500 [SPI_Flash] and [Move_Mem] is missing [UI_File]! #&quot;</span>);</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span>            }</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span>        <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>        <span class="keywordflow">case</span> (Update_Media):</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>            <span class="comment">/* SPI_Flash 格式化 */</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>            result = <a class="code hl_function" href="load__file_8c.html#a51d572edecc93d80a160b93843fb5208">fs_mkfs</a>(disk_flash);</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>            <span class="keywordflow">if</span> (FR_OK != result)</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>            {</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>                <a class="code hl_define" href="log_8h.html#ad4a9117ce894e3319e903142347a0f63">LOG_ERROR</a>(<span class="stringliteral">&quot;&gt; [SPI_Flash] FATS Formatting is [%d]\r\n&quot;</span>, result);</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span>                <a class="code hl_function" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9">lvgl_show_error</a>(<span class="stringliteral">&quot;#FF4500 [SPI_Flash] Formatting is error! #&quot;</span>);</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span>            }</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span>            <span class="comment">/* 分段拷贝测试(先拷贝小容量的 jpeg、bin, 最后再集中拷贝耗时较长的 avi 视频)</span></div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span><span class="comment">             * 这样做的原因是因为个别用户反映开头拷贝视频等待时间过长, 错误认为程序执行错误跑飞, 没有继续等待下去.</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span><span class="comment">             */</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>            result = <a class="code hl_function" href="file__table_8c.html#a9f89967794eeb4df91c77da5f983e163">show_copying_file_table</a>(disk_move, disk_flash, &amp;<a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>, <a class="code hl_define" href="file__table_8h.html#a53bd581d915222e8bcbd0f453dcc60ef">FT_IMG_START</a>, <a class="code hl_define" href="file__table_8h.html#a9e2b981a0be65b6e5506b5c71aa62753">FT_IMG_NUM</a>);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span>            <span class="keywordflow">if</span> (0 == result)</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>            {</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span>                <span class="comment">/* 对于 RGB 屏, 仅跳过 SD 卡视频文件 */</span></div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>                result = <a class="code hl_function" href="file__table_8c.html#a9f89967794eeb4df91c77da5f983e163">show_copying_file_table</a>(disk_move, disk_flash, &amp;<a class="code hl_variable" href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a>, <a class="code hl_define" href="file__table_8h.html#ac8e6df38331152c1e09f9a43e6ab34a3">FT_MOVE_VIDEO</a> + 1, <a class="code hl_define" href="file__table_8h.html#ad9072054406a903237e6ea1c0e6ff327">FT_FONT_NUM</a> + <a class="code hl_define" href="file__table_8h.html#aec25a2051242e8cef091f04dc5efb53f">FT_MUSIC_NUM</a> + <a class="code hl_define" href="file__table_8h.html#ac482e9c7e4db518dbc7e02d01d8caa3d">FT_VIDEO_NUM</a> - 1);</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span>            }</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span>            <span class="keywordflow">if</span> (0 != result) <span class="comment">/* UI 素材文件更新过程出错, 这种情况较少见 */</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span>            {</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>                <a class="code hl_define" href="log_8h.html#ad4a9117ce894e3319e903142347a0f63">LOG_ERROR</a>(<span class="stringliteral">&quot;&gt; [Copy File Table] result is [%d]\r\n&quot;</span>, result);</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span>                <a class="code hl_function" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9">lvgl_show_error</a>(<span class="stringliteral">&quot;#FF4500 [UI File Table] Copy error!#&quot;</span>);</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span>            }</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>            loading_status = _Loading_Over_;</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>        <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>        <span class="keywordflow">default</span>:</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>            <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>        }</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>    }</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>    <span class="keywordflow">return</span> result;</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>}</div>
<div class="ttc" id="absp__init_8h_html"><div class="ttname"><a href="bsp__init_8h.html">bsp_init.h</a></div><div class="ttdoc">板级硬件外设初始化</div></div>
<div class="ttc" id="adev__touch_8c_html_a4155438389d8b8b802f7f20534056bf0"><div class="ttname"><a href="dev__touch_8c.html#a4155438389d8b8b802f7f20534056bf0">touch_handler</a></div><div class="ttdeci">void touch_handler(dev_tp_t *dev)</div><div class="ttdoc">触摸事件处理</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8c_source.html#l00174">dev_touch.c:174</a></div></div>
<div class="ttc" id="adev__touch_8c_html_a84c114ba14f4f7ca7c2258db06b98d87"><div class="ttname"><a href="dev__touch_8c.html#a84c114ba14f4f7ca7c2258db06b98d87">Dev_TP</a></div><div class="ttdeci">dev_tp_t Dev_TP</div><div class="ttdoc">触摸屏设备</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8c_source.html#l00073">dev_touch.c:73</a></div></div>
<div class="ttc" id="adev__touch_8h_html_a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"><div class="ttname"><a href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a></div><div class="ttdeci">@ TP_EVENT_PRESSED</div><div class="ttdoc">触屏按下</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8h_source.html#l00123">dev_touch.h:122</a></div></div>
<div class="ttc" id="afile__table_8c_html_a210f9e081ee07b322afeec966766b06a"><div class="ttname"><a href="file__table_8c.html#a210f9e081ee07b322afeec966766b06a">File_Table</a></div><div class="ttdeci">table_class_t File_Table</div><div class="ttdoc">文件表</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8c_source.html#l00296">file_table.c:296</a></div></div>
<div class="ttc" id="afile__table_8c_html_a3b8264ecd2971c7f1409a78c16a80fff"><div class="ttname"><a href="file__table_8c.html#a3b8264ecd2971c7f1409a78c16a80fff">check_file_table</a></div><div class="ttdeci">uint32_t check_file_table(const disk_t disk, const table_class_t *file_table, const uint32_t start_index, const uint32_t num)</div><div class="ttdoc">按文件表依次验证磁盘文件</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8c_source.html#l00342">file_table.c:342</a></div></div>
<div class="ttc" id="afile__table_8c_html_a9f89967794eeb4df91c77da5f983e163"><div class="ttname"><a href="file__table_8c.html#a9f89967794eeb4df91c77da5f983e163">show_copying_file_table</a></div><div class="ttdeci">uint8_t show_copying_file_table(const disk_t src_disk, const disk_t dst_disk, const table_class_t *file_table, const uint32_t start_index, const uint32_t num)</div><div class="ttdoc">按文件表拷贝文件并显示拷贝过程 UI</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8c_source.html#l00379">file_table.c:379</a></div></div>
<div class="ttc" id="afile__table_8h_html_a1050bc568c1b6f276b9280fa238912e4"><div class="ttname"><a href="file__table_8h.html#a1050bc568c1b6f276b9280fa238912e4">FT_SPI_VIDEO</a></div><div class="ttdeci">#define FT_SPI_VIDEO</div><div class="ttdoc">Spi_Flash - video_boot</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00040">file_table.h:40</a></div></div>
<div class="ttc" id="afile__table_8h_html_a53bd581d915222e8bcbd0f453dcc60ef"><div class="ttname"><a href="file__table_8h.html#a53bd581d915222e8bcbd0f453dcc60ef">FT_IMG_START</a></div><div class="ttdeci">#define FT_IMG_START</div><div class="ttdoc">图片文件位于表中的起始索引</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00057">file_table.h:57</a></div></div>
<div class="ttc" id="afile__table_8h_html_a9e2b981a0be65b6e5506b5c71aa62753"><div class="ttname"><a href="file__table_8h.html#a9e2b981a0be65b6e5506b5c71aa62753">FT_IMG_NUM</a></div><div class="ttdeci">#define FT_IMG_NUM</div><div class="ttdoc">图片个数</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00059">file_table.h:59</a></div></div>
<div class="ttc" id="afile__table_8h_html_ac482e9c7e4db518dbc7e02d01d8caa3d"><div class="ttname"><a href="file__table_8h.html#ac482e9c7e4db518dbc7e02d01d8caa3d">FT_VIDEO_NUM</a></div><div class="ttdeci">#define FT_VIDEO_NUM</div><div class="ttdoc">视频个数</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00043">file_table.h:43</a></div></div>
<div class="ttc" id="afile__table_8h_html_ac8e6df38331152c1e09f9a43e6ab34a3"><div class="ttname"><a href="file__table_8h.html#ac8e6df38331152c1e09f9a43e6ab34a3">FT_MOVE_VIDEO</a></div><div class="ttdeci">#define FT_MOVE_VIDEO</div><div class="ttdoc">Move_Storage - video_boot(超过 Spi_Flash 容量不拷贝)</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00039">file_table.h:39</a></div></div>
<div class="ttc" id="afile__table_8h_html_ad9072054406a903237e6ea1c0e6ff327"><div class="ttname"><a href="file__table_8h.html#ad9072054406a903237e6ea1c0e6ff327">FT_FONT_NUM</a></div><div class="ttdeci">#define FT_FONT_NUM</div><div class="ttdoc">字库个数</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00054">file_table.h:54</a></div></div>
<div class="ttc" id="afile__table_8h_html_aec25a2051242e8cef091f04dc5efb53f"><div class="ttname"><a href="file__table_8h.html#aec25a2051242e8cef091f04dc5efb53f">FT_MUSIC_NUM</a></div><div class="ttdeci">#define FT_MUSIC_NUM</div><div class="ttdoc">音频个数</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00049">file_table.h:49</a></div></div>
<div class="ttc" id="aimage__source_8c_html_a885e4f4c4d55a588752ae7411cf4daa8"><div class="ttname"><a href="image__source_8c.html#a885e4f4c4d55a588752ae7411cf4daa8">img_table_hash_init</a></div><div class="ttdeci">void img_table_hash_init(img_hash_t *table, uint32_t table_size)</div><div class="ttdoc">初始化 图片资源文件映射表</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8c_source.html#l00037">image_source.c:37</a></div></div>
<div class="ttc" id="aimage__source_8c_html_aad0609e68f74eb0a9760a3fc0f604794"><div class="ttname"><a href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a></div><div class="ttdeci">img_hash_t Image_Table[IMG_MAX_NUM]</div><div class="ttdoc">图片资源文件映射表</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8c_source.html#l00025">image_source.c:25</a></div></div>
<div class="ttc" id="aimage__source_8h_html"><div class="ttname"><a href="image__source_8h.html">image_source.h</a></div><div class="ttdoc">管理加载至 SDRAM 的图片资源(即 lv_img_dsc_t 结构体)</div></div>
<div class="ttc" id="aimage__source_8h_html_a5177beb93e8dd02db1b129e066bec1a3"><div class="ttname"><a href="image__source_8h.html#a5177beb93e8dd02db1b129e066bec1a3">ICON_IMG_END</a></div><div class="ttdeci">#define ICON_IMG_END</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8h_source.html#l00047">image_source.h:47</a></div></div>
<div class="ttc" id="aimage__source_8h_html_a5766095671f07f4d50bd8a45777ab29a"><div class="ttname"><a href="image__source_8h.html#a5766095671f07f4d50bd8a45777ab29a">ICON_IMG_START</a></div><div class="ttdeci">#define ICON_IMG_START</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8h_source.html#l00045">image_source.h:45</a></div></div>
<div class="ttc" id="aimage__source_8h_html_aa819c9bdb403884c37da85f933a67d34"><div class="ttname"><a href="image__source_8h.html#aa819c9bdb403884c37da85f933a67d34">LOADING_GIF_START</a></div><div class="ttdeci">#define LOADING_GIF_START</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8h_source.html#l00037">image_source.h:37</a></div></div>
<div class="ttc" id="aimage__source_8h_html_ad57bb5b6e6270a1bdb9ec544e29951c4"><div class="ttname"><a href="image__source_8h.html#ad57bb5b6e6270a1bdb9ec544e29951c4">LOADING_GIF_SIZE</a></div><div class="ttdeci">#define LOADING_GIF_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8h_source.html#l00038">image_source.h:38</a></div></div>
<div class="ttc" id="aimage__source_8h_html_adaf395a1fb2006af232e8538dcd7a854"><div class="ttname"><a href="image__source_8h.html#adaf395a1fb2006af232e8538dcd7a854">IMG_MAX_NUM</a></div><div class="ttdeci">#define IMG_MAX_NUM</div><div class="ttdoc">UI 图片素材总数 ( 理论应与 FT_IMG_NUM 一致 )</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8h_source.html#l00085">image_source.h:85</a></div></div>
<div class="ttc" id="aload__file_8c_html_a08687ba7285d01a737a269b697bb661c"><div class="ttname"><a href="load__file_8c.html#a08687ba7285d01a737a269b697bb661c">VolumeStr</a></div><div class="ttdeci">const char *const VolumeStr[FF_VOLUMES]</div><div class="ttdoc">User defied volume ID (详见 ffconf.h 内的 &quot;FF_STR_VOLUME_ID&quot; &quot;FF_VOLUME_STRS&quot; )</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8c_source.html#l00108">load_file.c:108</a></div></div>
<div class="ttc" id="aload__file_8c_html_a2efc2116dbabe389a95c812f9dc6aa03"><div class="ttname"><a href="load__file_8c.html#a2efc2116dbabe389a95c812f9dc6aa03">load_source_to_sdram</a></div><div class="ttdeci">uint8_t load_source_to_sdram(disk_t disk, const char *path, resource_t type, void *res_struct, void *(*ram_malloc)(size_t))</div><div class="ttdoc">加载资源至 SDRAM 内</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8c_source.html#l00289">load_file.c:289</a></div></div>
<div class="ttc" id="aload__file_8c_html_a51d572edecc93d80a160b93843fb5208"><div class="ttname"><a href="load__file_8c.html#a51d572edecc93d80a160b93843fb5208">fs_mkfs</a></div><div class="ttdeci">uint8_t fs_mkfs(disk_t disk)</div><div class="ttdoc">磁盘新建卷, 重置清空卷</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8c_source.html#l00162">load_file.c:162</a></div></div>
<div class="ttc" id="aload__file_8c_html_a62a6b593e3ff4f0f2c1b13773df449b0"><div class="ttname"><a href="load__file_8c.html#a62a6b593e3ff4f0f2c1b13773df449b0">remove_source_to_sdram</a></div><div class="ttdeci">uint8_t remove_source_to_sdram(resource_t type, void *source, uint8_t(*ram_free)(void *))</div><div class="ttdoc">销毁位于 SDRAM 内的资源</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8c_source.html#l00332">load_file.c:332</a></div></div>
<div class="ttc" id="aload__file_8c_html_aebe4a0d647831986c734e1788150a064"><div class="ttname"><a href="load__file_8c.html#aebe4a0d647831986c734e1788150a064">fs_mount</a></div><div class="ttdeci">uint8_t fs_mount(disk_t disk)</div><div class="ttdoc">为磁盘挂载文件系统</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8c_source.html#l00128">load_file.c:128</a></div></div>
<div class="ttc" id="aload__file_8h_html"><div class="ttname"><a href="load__file_8h.html">load_file.h</a></div><div class="ttdoc">加载/拷贝文件</div></div>
<div class="ttc" id="aload__file_8h_html_a044f73b36811553cd877767a7df11f83a1e00c983d4be44226a3b1ba10382e3e9"><div class="ttname"><a href="load__file_8h.html#a044f73b36811553cd877767a7df11f83a1e00c983d4be44226a3b1ba10382e3e9">IMG</a></div><div class="ttdeci">@ IMG</div><div class="ttdoc">jpg 图 / 通过 PC 端工具转换图片生成的 bin</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8h_source.html#l00050">load_file.h:50</a></div></div>
<div class="ttc" id="aload__file_8h_html_a44edb5dd69763758dda6af4dd162c997"><div class="ttname"><a href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997">disk_t</a></div><div class="ttdeci">disk_t</div><div class="ttdoc">磁盘类型</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8h_source.html#l00040">load_file.h:41</a></div></div>
<div class="ttc" id="aload__file_8h_html_a44edb5dd69763758dda6af4dd162c997a65f6b55fdc64778bf10632a795b97761"><div class="ttname"><a href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997a65f6b55fdc64778bf10632a795b97761">USB</a></div><div class="ttdeci">@ USB</div><div class="ttdoc">U盘( Full / Low - Speed )</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8h_source.html#l00044">load_file.h:44</a></div></div>
<div class="ttc" id="aload__file_8h_html_a44edb5dd69763758dda6af4dd162c997a8268cafd51299d814aba050e5f54f1ac"><div class="ttname"><a href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997a8268cafd51299d814aba050e5f54f1ac">SD</a></div><div class="ttdeci">@ SD</div><div class="ttdoc">SD-TF卡(2 ~ 32 GB)</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8h_source.html#l00043">load_file.h:43</a></div></div>
<div class="ttc" id="aload__file_8h_html_a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76"><div class="ttname"><a href="load__file_8h.html#a44edb5dd69763758dda6af4dd162c997aefea9eb0772378037221a3f1fe759a76">SPI</a></div><div class="ttdeci">@ SPI</div><div class="ttdoc">SPI-Flash</div><div class="ttdef"><b>Definition:</b> <a href="load__file_8h_source.html#l00042">load_file.h:42</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a319fc11a86458ae8f312ba52f686483c"><div class="ttname"><a href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c">video_set_post</a></div><div class="ttdeci">void video_set_post(lcd_layer_t lcd_layer, uint16_t xs, uint16_t ys)</div><div class="ttdoc">设置视频播放显示区域</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00395">load_mv.c:395</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a3ff08970bdf7f8e28122786eac11d6d3"><div class="ttname"><a href="load__mv_8c.html#a3ff08970bdf7f8e28122786eac11d6d3">video_set_loop</a></div><div class="ttdeci">void video_set_loop(const uint32_t times, const uint32_t max)</div><div class="ttdoc">设置视频循环播放次数</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00431">load_mv.c:431</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a4baf0d2c0d6e1fea0ddb9867c9747f8b"><div class="ttname"><a href="load__mv_8c.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b">mv_task_handler</a></div><div class="ttdeci">int mv_task_handler(void)</div><div class="ttdoc">音视频任务处理</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00211">load_mv.c:211</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a7dd8d59698dc593d41250fc09a0ae5a5"><div class="ttname"><a href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5">mv_task_init</a></div><div class="ttdeci">void mv_task_init(const char *file_path)</div><div class="ttdoc">打开源文件启动播放</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00260">load_mv.c:260</a></div></div>
<div class="ttc" id="aload__mv_8c_html_ab03d657977c16952b0a16e589fbd6e71"><div class="ttname"><a href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71">mv_task_over</a></div><div class="ttdeci">void mv_task_over(void)</div><div class="ttdoc">结束播放, 释放所占用的资源</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00224">load_mv.c:224</a></div></div>
<div class="ttc" id="aload__mv_8h_html"><div class="ttname"><a href="load__mv_8h.html">load_mv.h</a></div><div class="ttdoc">播放 avi / wav 音视频</div></div>
<div class="ttc" id="aload__mv_8h_html_ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93"><div class="ttname"><a href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47a007207a8bae3c327ad4531fa3e5fac93">LAYER_1_GUI</a></div><div class="ttdeci">@ LAYER_1_GUI</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8h_source.html#l00043">load_mv.h:43</a></div></div>
<div class="ttc" id="alog_8c_html_afe12af7fba29f5c026af71dfca1d1ff9"><div class="ttname"><a href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9">lvgl_show_error</a></div><div class="ttdeci">void lvgl_show_error(const char *text)</div><div class="ttdoc">应用 label 控件在屏幕上显示错误告警</div><div class="ttdef"><b>Definition:</b> <a href="log_8c_source.html#l00032">log.c:32</a></div></div>
<div class="ttc" id="alog_8h_html"><div class="ttname"><a href="log_8h.html">log.h</a></div><div class="ttdoc">日志打印/用户提示(告警)</div></div>
<div class="ttc" id="alog_8h_html_a378e28bfcb78d17285210d6bbb70a083"><div class="ttname"><a href="log_8h.html#a378e28bfcb78d17285210d6bbb70a083">LOG_INFO</a></div><div class="ttdeci">#define LOG_INFO(...)</div><div class="ttdoc">调试日志打印-普通</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00042">log.h:42</a></div></div>
<div class="ttc" id="alog_8h_html_ad4a9117ce894e3319e903142347a0f63"><div class="ttname"><a href="log_8h.html#ad4a9117ce894e3319e903142347a0f63">LOG_ERROR</a></div><div class="ttdeci">#define LOG_ERROR(...)</div><div class="ttdoc">调试日志打印-错误</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00054">log.h:54</a></div></div>
<div class="ttc" id="alog_8h_html_add82efa459e0af380b68522c29b9fd44"><div class="ttname"><a href="log_8h.html#add82efa459e0af380b68522c29b9fd44">LOG_WARN</a></div><div class="ttdeci">#define LOG_WARN(...)</div><div class="ttdoc">调试日志打印-警告</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00048">log.h:48</a></div></div>
<div class="ttc" id="amem__sdram_8c_html_a9ef7e7053d4000fe99a7eacc8d9346d7"><div class="ttname"><a href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7">sdram_free</a></div><div class="ttdeci">uint8_t sdram_free(void *ptr)</div><div class="ttdoc">释放一块内存</div><div class="ttdef"><b>Definition:</b> <a href="mem__sdram_8c_source.html#l00183">mem_sdram.c:183</a></div></div>
<div class="ttc" id="amem__sdram_8c_html_ae1630464a6d7686e9e41daf4b38e74a8"><div class="ttname"><a href="mem__sdram_8c.html#ae1630464a6d7686e9e41daf4b38e74a8">sdram_malloc</a></div><div class="ttdeci">void * sdram_malloc(size_t size)</div><div class="ttdoc">申请一块内存</div><div class="ttdef"><b>Definition:</b> <a href="mem__sdram_8c_source.html#l00130">mem_sdram.c:130</a></div></div>
<div class="ttc" id="amem__sdram_8h_html"><div class="ttname"><a href="mem__sdram_8h.html">mem_sdram.h</a></div><div class="ttdoc">管理片内 SDRAM 存储空间</div></div>
<div class="ttc" id="astructdev__tp__t_html_ade186a1e352f443f71fa39c14af5b674"><div class="ttname"><a href="structdev__tp__t.html#ade186a1e352f443f71fa39c14af5b674">dev_tp_t::point</a></div><div class="ttdeci">tp_data_t * point</div><div class="ttdoc">触摸点数据</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8h_source.html#l00152">dev_touch.h:152</a></div></div>
<div class="ttc" id="astructimg__hash__t_html_a15a9da58fa9768c427dbd548764b2009"><div class="ttname"><a href="structimg__hash__t.html#a15a9da58fa9768c427dbd548764b2009">img_hash_t::img</a></div><div class="ttdeci">lv_img_dsc_t * img</div><div class="ttdoc">图片资源</div><div class="ttdef"><b>Definition:</b> <a href="image__source_8h_source.html#l00092">image_source.h:92</a></div></div>
<div class="ttc" id="astructtable__class__t_html_a50759ab8147814e1075b574b51d12e64"><div class="ttname"><a href="structtable__class__t.html#a50759ab8147814e1075b574b51d12e64">table_class_t::table_size</a></div><div class="ttdeci">uint32_t table_size</div><div class="ttdoc">文件表总数量</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00075">file_table.h:75</a></div></div>
<div class="ttc" id="astructtable__class__t_html_a5be3dd4ebfa388f80036fee2ac2768f1"><div class="ttname"><a href="structtable__class__t.html#a5be3dd4ebfa388f80036fee2ac2768f1">table_class_t::file</a></div><div class="ttdeci">user_file_t * file</div><div class="ttdoc">文件</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00074">file_table.h:74</a></div></div>
<div class="ttc" id="astructtp__data__t_html_a5202f2d226d6bf6ec85c52304098acd2"><div class="ttname"><a href="structtp__data__t.html#a5202f2d226d6bf6ec85c52304098acd2">tp_data_t::event</a></div><div class="ttdeci">tp_event_t event</div><div class="ttdoc">触摸事件(抬起/按下/移动等等)</div><div class="ttdef"><b>Definition:</b> <a href="dev__touch_8h_source.html#l00130">dev_touch.h:130</a></div></div>
<div class="ttc" id="astructuser__file__t_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="structuser__file__t.html#a8f8f80d37794cde9472343e4487ba3eb">user_file_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">文件名</div><div class="ttdef"><b>Definition:</b> <a href="file__table_8h_source.html#l00064">file_table.h:64</a></div></div>
<div class="ttc" id="aui__boot_8c_html_ad02910df5a0eb655a0a0495b475f7c0e"><div class="ttname"><a href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e">plan_check</a></div><div class="ttdeci">static uint8_t plan_check(void)</div><div class="ttdoc">开机按计划自检, 完成一些文件系统挂载、素材文件的校验/更新等动作</div><div class="ttdef"><b>Definition:</b> <a href="ui__boot_8c_source.html#l00160">ui_boot.c:160</a></div></div>
<div class="ttc" id="aui__boot_8c_html_ad915e3f7b5aab86e375414a5844c500a"><div class="ttname"><a href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a">ui_boot</a></div><div class="ttdeci">uint8_t ui_boot(void)</div><div class="ttdoc">挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果</div><div class="ttdef"><b>Definition:</b> <a href="ui__boot_8c_source.html#l00049">ui_boot.c:49</a></div></div>
<div class="ttc" id="aui__boot_8h_html"><div class="ttname"><a href="ui__boot_8h.html">ui_boot.h</a></div><div class="ttdoc">开机动画/视频页, 挂载文件系统完成主页素材的导入</div></div>
<div class="ttc" id="aversion_8h_html"><div class="ttname"><a href="version_8h.html">version.h</a></div><div class="ttdoc">版本/目标控制</div></div>
<div class="ttc" id="aversion_8h_html_a190e24ed4405f51a3099593ea97afb23"><div class="ttname"><a href="version_8h.html#a190e24ed4405f51a3099593ea97afb23">SWM34SCE_PIN48_A2</a></div><div class="ttdeci">#define SWM34SCE_PIN48_A2</div><div class="ttdoc">SWM34SCET6_A2 - Demo板</div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00083">version.h:83</a></div></div>
<div class="ttc" id="aversion_8h_html_a737744852bdd23458f08a934778043a9"><div class="ttname"><a href="version_8h.html#a737744852bdd23458f08a934778043a9">SWM34S_LCM_PCBV</a></div><div class="ttdeci">#define SWM34S_LCM_PCBV</div><div class="ttdoc">(用户必须设置)请根据实际使用的官方 Demo 板 PCB 丝印选择对应型号</div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00089">version.h:89</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
